package com.xunlai.infra.permission.business.dao.entity;

import com.xunlai.infra.permission.storage.entity.BaseEntity;
import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 8/19/23 10:55 PM
 */
@Table("travel_scenic_area")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ScenicArea extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = -4521363072906932205L;

    @Id
    private Long id;

    private String scenicName;

    private String scenicProvince;

    private String scenicCity;

    @Column("is_custom")
    private Boolean custom;
}
